import { Component, OnInit, Input } from '@angular/core';
declare let $: any;
@Component({
  selector: 'app-general-head-count-shop',
  templateUrl: './general-head-count-shop.component.html',
  styleUrls: ['./general-head-count-shop.component.scss'],
})
export class GeneralHeadCountShopComponent implements OnInit {
  @Input() tagData;
  tagGeneralHeadCountId = 'general-head-count';
  appTypeCustom: any;
  constructor() { }
  ngOnInit() {
    this.tagGeneralHeadCountId += new Date().getTime();
    const bodyStyles = window.getComputedStyle(document.body);
    this.appTypeCustom = bodyStyles.getPropertyValue('--appTypeCustom').trim().replace('"', '').replace('"', '');
  }
  isHide() {
    if (document.getElementById(this.tagGeneralHeadCountId)) {
      $("#" + this.tagGeneralHeadCountId).slideToggle("slow");
    }
  }

}
